MPRESOURCE_INFO structure

Resource information structure.

Syntax

typedef struct tagMPRESOURCE_INFO {
  MP_MIDL_STRING LPWSTR Scheme;
  MP_MIDL_STRING LPWSTR Path;
  MPRESOURCE_CLASS      Class;
} MPRESOURCE_INFO, *PMPRESOURCE_INFO;

Members

Scheme

Type: MP_MIDL_STRING LPWSTR

Resource scheme identifier such as "file" or "dir".

Path

Type: MP_MIDL_STRING LPWSTR

Absolute path of resource, based on Scheme.

Class

Type: MPRESOURCE_CLASS

This field is set when the resource is identified as part of the threat. It specifies the resource class, mainly concrete vs. latent. It can be a combination of these possible values:

Value Meaning
MP_RESOURCE_CLASS_UNKNOWN
0x0000
MP_RESOURCE_CLASS_CONCRETE
0x0001
Mutually exclusive with MP_RESOURCE_CLASS_LATENT.
MP_RESOURCE_CLASS_LATENT
0x0002
Mutually exclusive with MP_RESOURCE_CLASS_CONCRETE.
MP_RESOURCE_CLASS_SAMPLE_FILE
0x0004
MP_RESOURCE_CLASS_SHARED
0x0100

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
MpClient.h